package com.xhwl.centiotdata.service;

import com.xhwl.common.pojo.cent.device.DeviceProjSupplierCategory;
import com.xhwl.common.query.ToiletQuery;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.bind.annotation.RestController;

@RestController
public interface IRomaDeviceReceiveService {

    void getRomaDevice(DeviceProjSupplierCategory deviceProjSupplierCategory);


    /**
     * 通过roma获取盥洗室统计数据
     * @param toiletQuery
     * @return
     */
    @RequestMapping(value = "/roma/toilet-statistics", method = RequestMethod.POST)
    String getToiletRecord(@RequestPart(value = "toiletQuery") ToiletQuery toiletQuery);

}
